package com.ruoyi.net.mapper;

import java.util.List;
import com.ruoyi.net.domain.BusiL2Vpn;
import com.ruoyi.net.domain.BusiL2VpnEleListVo;
import com.ruoyi.net.domain.BusiL2VpnVo;

/**
 * 业务-L2 VPN配置Mapper接口
 * 
 * @author tony
 * @date 2024-12-14
 */
public interface BusiL2VpnMapper 
{
    /**
     * 查询业务-L2 VPN配置
     * 
     * @param id 业务-L2 VPN配置主键
     * @return 业务-L2 VPN配置
     */
    public BusiL2Vpn selectBusiL2VpnById(String id);

    /**
     * 查询业务-L2 VPN配置列表
     * 
     * @param busiL2Vpn 业务-L2 VPN配置
     * @return 业务-L2 VPN配置集合
     */
    public List<BusiL2Vpn> selectBusiL2VpnList(BusiL2Vpn busiL2Vpn);


    public List<BusiL2VpnVo> selectBusiL2VpnListVo(BusiL2VpnVo busiL2VpnVo);

    /**
     * 新增业务-L2 VPN配置
     * 
     * @param busiL2Vpn 业务-L2 VPN配置
     * @return 结果
     */
    public int insertBusiL2Vpn(BusiL2Vpn busiL2Vpn);

    /**
     * 修改业务-L2 VPN配置
     * 
     * @param busiL2Vpn 业务-L2 VPN配置
     * @return 结果
     */
    public int updateBusiL2Vpn(BusiL2Vpn busiL2Vpn);

    /**
     * 删除业务-L2 VPN配置
     * 
     * @param id 业务-L2 VPN配置主键
     * @return 结果
     */
    public int deleteBusiL2VpnById(String id);

    /**
     * 批量删除业务-L2 VPN配置
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusiL2VpnByIds(String[] ids);

    List<BusiL2VpnEleListVo> selectBusiL2VpnEleList(BusiL2VpnEleListVo busiL2Vpn);
}
